#include <header.h>

int main(){
    DIR *dir = opendir("zs");


    while(1){
        struct dirent *pdir = readdir(dir);

        printf("%ld\n",pdir->d_ino);
        if(pdir == NULL){

            rewinddir(dir);
            sleep(3);
            continue;
        }

        printf("%ld\n",pdir->d_ino);
    }

    closedir(dir);
    return 0;
}

